#include "ScriptMgr.h"
#include <time.h>
#include <iostream>

using namespace std;

int main()
{
	CScriptMgr mgr;
	mgr.Init();

	clock_t oldtime = clock();

	for (int i = 0; i < 100000; i++)
	{
		mgr.DoMagic(123, 23, 89);
	}

	clock_t curtime = clock();

	cout << "cost " << curtime-oldtime << " MS in total!" << endl;

	return 0;
}